encoding/json.reflectWithString.k (field)
10 uses
encoding/json (current package)
encode.go#L745: sv[i].k = mi.Key()
encode.go#L934: k reflect.Value
encode.go#L940: if w.k.Kind() == reflect.String {
encode.go#L941: w.ks = w.k.String()
encode.go#L944: if tm, ok := w.k.Interface().(encoding.TextMarshaler); ok {
encode.go#L945: if w.k.Kind() == reflect.Pointer && w.k.IsNil() {
encode.go#L952: switch w.k.Kind() {
encode.go#L954: w.ks = strconv.FormatInt(w.k.Int(), 10)
encode.go#L957: w.ks = strconv.FormatUint(w.k.Uint(), 10)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |